package com.cl.erp_2301.Service.impl;

import com.cl.erp_2301.dto.StoreDTO;
import com.cl.erp_2301.entity.Store;
import com.cl.erp_2301.mapper.StoreMapper;
import com.cl.erp_2301.Service.StoreService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StoreServiceImpl implements StoreService {
    @Resource
    private StoreMapper storeMapper;

    @Override
    public void add() {

    }

    @Override
    public void delete() {

    }

    @Override
    public void update() {

    }

    @Override
    public void select() {

    }

    @Override
    public List<StoreDTO> listByPage() {

        return storeMapper.listByPage();
    }

    @Override
    public void add(StoreDTO storeDTO) {
        storeMapper.add(storeDTO);
    }
}
